.class public Lcom/estrongs/android/util/e;
.super Ljava/lang/Object;
.source "CharsetHelper.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/util/e$b;
    }
.end annotation


# instance fields
.field private a:Landroid/content/Context;

.field private b:I

.field private c:I

.field private d:Lcom/estrongs/android/util/e$b;

.field private e:Lcom/estrongs/android/ui/dialog/q;

.field public f:Z


# direct methods
.method public constructor <init>(Landroid/content/Context;ILcom/estrongs/android/util/e$b;)V
    .locals 1

    .line 10
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 11
    iput v0, p0, Lcom/estrongs/android/util/e;->b:I

    .line 12
    iput v0, p0, Lcom/estrongs/android/util/e;->c:I

    const/4 v0, 0x0

    .line 13
    iput-object v0, p0, Lcom/estrongs/android/util/e;->e:Lcom/estrongs/android/ui/dialog/q;

    const/4 v0, 0x1

    .line 14
    iput-boolean v0, p0, Lcom/estrongs/android/util/e;->f:Z

    .line 15
    iput-object p1, p0, Lcom/estrongs/android/util/e;->a:Landroid/content/Context;

    .line 16
    iput p2, p0, Lcom/estrongs/android/util/e;->b:I

    .line 17
    iput p2, p0, Lcom/estrongs/android/util/e;->c:I

    .line 18
    iput-object p3, p0, Lcom/estrongs/android/util/e;->d:Lcom/estrongs/android/util/e$b;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;Lcom/estrongs/android/util/e$b;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput v0, p0, Lcom/estrongs/android/util/e;->b:I

    .line 3
    iput v0, p0, Lcom/estrongs/android/util/e;->c:I

    const/4 v0, 0x0

    .line 4
    iput-object v0, p0, Lcom/estrongs/android/util/e;->e:Lcom/estrongs/android/ui/dialog/q;

    const/4 v0, 0x1

    .line 5
    iput-boolean v0, p0, Lcom/estrongs/android/util/e;->f:Z

    .line 6
    iput-object p1, p0, Lcom/estrongs/android/util/e;->a:Landroid/content/Context;

    .line 7
    invoke-static {p2}, Lcom/estrongs/android/util/e;->a(Ljava/lang/String;)I

    move-result p1

    iput p1, p0, Lcom/estrongs/android/util/e;->b:I

    .line 8
    iput p1, p0, Lcom/estrongs/android/util/e;->c:I

    .line 9
    iput-object p3, p0, Lcom/estrongs/android/util/e;->d:Lcom/estrongs/android/util/e$b;

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/util/e;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/estrongs/android/util/e;->c:I

    return p0
.end method

.method static synthetic a(Lcom/estrongs/android/util/e;I)I
    .locals 0

    .line 2
    iput p1, p0, Lcom/estrongs/android/util/e;->c:I

    return p1
.end method

.method public static a(Ljava/lang/String;)I
    .locals 4

    const/4 v0, 0x0

    const/4 v1, 0x0

    .line 3
    :goto_0
    sget-object v2, Lcom/estrongs/android/util/f;->a:[Ljava/lang/String;

    array-length v3, v2

    if-ge v1, v3, :cond_1

    .line 4
    aget-object v2, v2, v1

    invoke-virtual {v2, p0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_0

    return v1

    :cond_0
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    :cond_1
    return v0
.end method

.method public static a(Landroid/content/Context;I)Ljava/lang/String;
    .locals 1

    .line 5
    invoke-virtual {p0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object p0

    const v0, 0x7f030003

    invoke-virtual {p0, v0}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object p0

    if-eqz p0, :cond_0

    .line 6
    aget-object p0, p0, p1

    goto :goto_0

    :cond_0
    const-string p0, ""

    :goto_0
    return-object p0
.end method

.method static synthetic b(Lcom/estrongs/android/util/e;)Lcom/estrongs/android/util/e$b;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/util/e;->d:Lcom/estrongs/android/util/e$b;

    return-object p0
.end method

.method static synthetic c(Lcom/estrongs/android/util/e;)Landroid/content/Context;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/estrongs/android/util/e;->a:Landroid/content/Context;

    return-object p0
.end method


# virtual methods
.method public a()V
    .locals 6

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/util/e;->e:Lcom/estrongs/android/ui/dialog/q;

    if-nez v0, :cond_3

    .line 8
    iget-boolean v0, p0, Lcom/estrongs/android/util/e;->f:Z

    const v1, 0x7f030003

    const/4 v2, 0x1

    if-nez v0, :cond_0

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/util/e;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object v0

    .line 10
    array-length v1, v0

    sub-int/2addr v1, v2

    new-array v1, v1, [Ljava/lang/String;

    const/4 v3, 0x1

    .line 11
    :goto_0
    array-length v4, v0

    if-ge v3, v4, :cond_1

    add-int/lit8 v4, v3, -0x1

    .line 12
    aget-object v5, v0, v3

    aput-object v5, v1, v4

    add-int/lit8 v3, v3, 0x1

    goto :goto_0

    .line 13
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/util/e;->a:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getStringArray(I)[Ljava/lang/String;

    move-result-object v1

    .line 14
    :cond_1
    new-instance v0, Lcom/estrongs/android/ui/dialog/q$n;

    iget-object v3, p0, Lcom/estrongs/android/util/e;->a:Landroid/content/Context;

    invoke-direct {v0, v3}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    const v3, 0x7f110475

    invoke-virtual {v0, v3}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    iget-boolean v3, p0, Lcom/estrongs/android/util/e;->f:Z

    if-eqz v3, :cond_2

    iget v2, p0, Lcom/estrongs/android/util/e;->c:I

    goto :goto_1

    :cond_2
    iget v3, p0, Lcom/estrongs/android/util/e;->c:I

    add-int/lit8 v2, v3, -0x1

    :goto_1
    new-instance v3, Lcom/estrongs/android/util/e$a;

    invoke-direct {v3, p0}, Lcom/estrongs/android/util/e$a;-><init>(Lcom/estrongs/android/util/e;)V

    .line 15
    invoke-virtual {v0, v1, v2, v3}, Lcom/estrongs/android/ui/dialog/q$n;->a([Ljava/lang/CharSequence;ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 16
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q$n;->c()Lcom/estrongs/android/ui/dialog/q;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/util/e;->e:Lcom/estrongs/android/ui/dialog/q;

    return-void

    .line 17
    :cond_3
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q;->show()V

    return-void
.end method
